@layout("/common/_container.html",{plugins:["ztree"],js:["/assets/modular/system/btyTxl/btyTxl.js"],css:["/assets/common/css/beautiful.css"]}){
<link rel="stylesheet" href="${ctxPath}/assets/common/css/pack.css?v=${constants.getReleaseVersion()}" media="all">
<div class="layui-body-header">
    <span class="layui-body-header-title">通知管理</span>
</div>
<style>
    .txbtn{
        margin-bottom: 10px;
    }
    .layui-btn+.layui-btn {
        margin-left: 0px;
    }
    .layui-form-label{
        width: 70px !important;
    }
    /* .layui-input {
        max-width: 100px;
    } */
</style>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar marbot">
                        <div class="layui-form-item">
                            <div class="layui-inline">
                                <label class="layui-form-label">餐厅状态</label>
                                <div class="layui-input-inline" style="width:150px;">
                                    <select id="status" name="status" lay-filter="status" lay-search="">
                                        <option value="1">正常</option>
                                        <option value="0">关店</option>
                                        <option value="">全部</option>
                                    </select>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">区域</label>
                                <div class="layui-input-inline" style="width:150px;">
                                    <input id="csqy" class="layui-input txl" type="text" placeholder="请输入所属区域" autocomplete="off"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">编号</label>
                                <div class="layui-input-inline" style="width:150px;">
                                    <input id="ctbh" class="layui-input txl" type="text" placeholder="请输入餐厅编号" autocomplete="off"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">店名</label>
                                <div class="layui-input-inline" style="width:150px;">
                                    <input id="dm" class="layui-input txl" type="text" placeholder="请输入店名" autocomplete="off"/>
                                </div>
                            </div>

                            <div class="layui-inline">
                                <label class="layui-form-label">开业时间</label>
                                <div class="layui-input-inline">
                                    <input id="timeLimit" class="layui-input txl" type="text" autocomplete="off"
                                           placeholder="开业时间"/>
                                </div>
                            </div>

                            @if(shiro.hasPermission("/btyTxlManage/yes")){
                            <div class="layui-inline">
                                <label class="layui-form-label">营运经理</label>
                                <div class="layui-input-inline" style="width:150px;">
                                    <input id="yyjlqy" class="layui-input txl" type="text" placeholder="请输入营运经理" autocomplete="off"/>
                                </div>
                            </div>
                            <div class="layui-inline">
                                <label class="layui-form-label">督导</label>
                                <div class="layui-input-inline" style="width:150px;">
                                    <input id="dd" class="layui-input txl" type="text" placeholder="请输入督导" autocomplete="off"/>
                                </div>
                            </div>
                            @}
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn layui-btn-sm icon-btn">搜索</button>
                                <button id="btnReset" class="layui-btn layui-btn-primary layui-btn-sm icon-btn reset">重置</button>
                            </div>
                        </div>
                        <div class="layui-form-item martop">
                            <div class="layui-inline">
                                @if(shiro.hasPermission("/btyTxlManage/yes")){
                                <button id="btnAddct" class="layui-btn layui-btn-sm icon-btn">添加餐厅</button>
                                <button id="btnAddfzr" class="layui-btn layui-btn-sm icon-btn">添加负责人</button>
                                <button id="btnEditDz" class="layui-btn layui-btn-sm icon-btn">同步团队店长</button>
                                <button id="btnEditYy" class="layui-btn layui-btn-sm icon-btn">同步营运架构</button>
<!--                                <button id="btnCwm" class="layui-btn icon-btn">更新财务码</button>-->
                                <button id="btnWmDm" class="layui-btn layui-btn-sm icon-btn">同步外卖店名</button>
                                @}
                                <button id="btnExport" class="layui-btn layui-btn-sm icon-btn">导出通讯录</button>
<!--                                <button id="btnExcel" class="layui-btn icon-btn">导入</button>-->
                            </div>
                        </div>
                        
                    </div>
                    <table class="layui-table" id="noticeTable" lay-filter="noticeTable"></table>
                    <table id="table"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="tableBar">
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="view">细</a>
    @if(shiro.hasPermission("/btyTxlManage/yes")){
    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
    @}
</script>

@if(shiro.hasPermission("/btyTxlManage/yes")){
<script type="text/html" id="statusTpl">
    <input type="checkbox" lay-filter="status" value="{{d.id}}" lay-skin="switch" lay-text="正常|关店" {{d.status=='1'?'checked':''}} />
</script>
@}

@}